package org.candan.spider.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import java.util.Timer;

/**
 * @author ZhangShuCheng
 * @category 计划实体类
 *
 */
public class Plan {

	private String id ; //唯一标示
	private String name ; //
	private String parent; //任务的id
	private String status; // 是否启用
	private String url; //扒取地址
	private String output; //输出地址
	private Date startTime ; //开始时间
	private Date endTime ;//结束时间
	private Timer timer ;// 
	private Set<Result> results = new HashSet<Result>();
	public Set<Result> getResult() {
		return results;
	}
	public void setResult(Set<Result> result) {
		this.results = result;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getParent() {
		return parent;
	}
	public void setParent(String parent) {
		this.parent = parent;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getOutput() {
		return output;
	}
	public void setOutput(String output) {
		this.output = output;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Timer getTimer() {
		return timer;
	}
	public void setTimer(Timer timer) {
		this.timer = timer;
	}
	
	
}
